package gameadminlogic

import (
	"context"
	"navi-mumbai/common/utils"

	"navi-mumbai/app/rpc/game/internal/svc"
	"navi-mumbai/app/rpc/game/pb"

	"github.com/zeromicro/go-zero/core/logx"
)

type UpdateGameProviderSecretLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewUpdateGameProviderSecretLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateGameProviderSecretLogic {
	return &UpdateGameProviderSecretLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

// 修改游戏供应商secret
func (l *UpdateGameProviderSecretLogic) UpdateGameProviderSecret(in *pb.UpdateGameProviderSecretReq) (*pb.UpdateGameProviderSecretResp, error) {
	// todo: add your logic here and delete this line
	defer utils.RecoverPanic()

	return &pb.UpdateGameProviderSecretResp{}, nil
}
